[INFO] cloning repository https://github.com/ishibashi-futos/rust-learn
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ishibashi-futos/rust-learn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fishibashi-futos%2Frust-learn", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fishibashi-futos%2Frust-learn'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d04d014df8ea35f7d96abe46d0cf855d52154abd
[INFO] fixing ishibashi-futos/rust-learn against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fishibashi-futos%2Frust-learn" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ishibashi-futos/rust-learn
[INFO] finished tweaking git repo https://github.com/ishibashi-futos/rust-learn
[INFO] tweaked toml for git repo https://github.com/ishibashi-futos/rust-learn written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ishibashi-futos/rust-learn on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ishibashi-futos/rust-learn already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a3c7fb729ff9cf060a0abde9adcac38b6afee23b72a6c9588322bc2f92f9cf8b
[INFO] running `Command { std: "docker" "start" "a3c7fb729ff9cf060a0abde9adcac38b6afee23b72a6c9588322bc2f92f9cf8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a3c7fb729ff9cf060a0abde9adcac38b6afee23b72a6c9588322bc2f92f9cf8b" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a3c7fb729ff9cf060a0abde9adcac38b6afee23b72a6c9588322bc2f92f9cf8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a3c7fb729ff9cf060a0abde9adcac38b6afee23b72a6c9588322bc2f92f9cf8b" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating adder/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating logger/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating hello_macro/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating hello_macro_derive/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating server/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling libc v0.2.117
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]     Checking hello_macro v0.1.0 (/opt/rustwide/workdir/hello_macro)
[INFO] [stderr]     Checking adder v0.1.0 (/opt/rustwide/workdir/adder)
[INFO] [stderr]     Checking unicode-xid v0.2.2
[INFO] [stderr]    Migrating hello_macro/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating adder/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking hello_macro_derive v0.1.0 (/opt/rustwide/workdir/hello_macro_derive)
[INFO] [stderr]     Checking logger v0.1.0 (/opt/rustwide/workdir/logger)
[INFO] [stderr]    Migrating logger/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating hello_macro_derive/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed hello_macro_derive/src/lib.rs (2 fixes)
[INFO] [stderr]     Checking server v0.1.0 (/opt/rustwide/workdir/server)
[INFO] [stderr]    Migrating logger/src/main.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating server/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating logger/tests/spinners_dots_test.rs from 2021 edition to 2024
[INFO] [stderr]     Checking rust_learn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating server/src/bin/main.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/common.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/unsafe_rust.rs (1 fix)
[INFO] [stderr]    Migrating tests/tests_test.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/unsafe_rust.rs:74:44
[INFO] [stdout]    |
[INFO] [stdout] 74 |         logger::info(&format!("count: {}", COUNTER));
[INFO] [stdout]    |                                            ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/mapped_cache_test.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/unsafe_rust.rs:74:44
[INFO] [stdout]    |
[INFO] [stdout] 74 |         logger::info(&format!("count: {}", COUNTER));
[INFO] [stdout]    |                                            ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [optimized + debuginfo] target(s) in 7.50s
[INFO] [stderr] crater-edition-check: adder v0.1.0 (/opt/rustwide/workdir/adder) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: logger v0.1.0 (/opt/rustwide/workdir/logger) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: hello_macro v0.1.0 (/opt/rustwide/workdir/hello_macro) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: hello_macro_derive v0.1.0 (/opt/rustwide/workdir/hello_macro_derive) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: server v0.1.0 (/opt/rustwide/workdir/server) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: rust_learn v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking logger v0.1.0 (/opt/rustwide/workdir/logger)
[INFO] [stderr]     Checking adder v0.1.0 (/opt/rustwide/workdir/adder)
[INFO] [stderr]     Checking hello_macro v0.1.0 (/opt/rustwide/workdir/hello_macro)
[INFO] [stderr]    Compiling hello_macro_derive v0.1.0 (/opt/rustwide/workdir/hello_macro_derive)
[INFO] [stderr]     Checking server v0.1.0 (/opt/rustwide/workdir/server)
[INFO] [stderr]     Checking rust_learn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait `OutlinePrint` is never used
[INFO] [stdout]   --> src/advanced_traits.rs:30:7
[INFO] [stdout]    |
[INFO] [stdout] 30 | trait OutlinePrint: std::fmt::Display {
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/boxes.rs:54:14
[INFO] [stdout]    |
[INFO] [stdout] 54 |         Cons(i32, Box<List>),
[INFO] [stdout]    |         ---- ^^^  ^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 54 -         Cons(i32, Box<List>),
[INFO] [stdout] 54 +         Cons((), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/defining_enum.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 |     Move(MoveMessage),
[INFO] [stdout]    |     ---- ^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 41 -     Move(MoveMessage),
[INFO] [stdout] 41 +     Move(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/defining_enum.rs:42:11
[INFO] [stdout]    |
[INFO] [stdout] 42 |     Write(String),
[INFO] [stdout]    |     ----- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 42 -     Write(String),
[INFO] [stdout] 42 +     Write(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]   --> src/defining_enum.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |     ChangeColor(i32, i32, i32),
[INFO] [stdout]    |     ----------- ^^^  ^^^  ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 43 -     ChangeColor(i32, i32, i32),
[INFO] [stdout] 43 +     ChangeColor((), (), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/example_collections.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |     Int(i32),
[INFO] [stdout]    |     --- ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SpreadSheetCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 76 -     Int(i32),
[INFO] [stdout] 76 +     Int(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/example_collections.rs:77:11
[INFO] [stdout]    |
[INFO] [stdout] 77 |     Float(f64),
[INFO] [stdout]    |     ----- ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SpreadSheetCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 77 -     Float(f64),
[INFO] [stdout] 77 +     Float(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/example_collections.rs:78:10
[INFO] [stdout]    |
[INFO] [stdout] 78 |     Text(String),
[INFO] [stdout]    |     ---- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SpreadSheetCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 78 -     Text(String),
[INFO] [stdout] 78 +     Text(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `content` is never read
[INFO] [stdout]    --> src/generics_example.rs:143:9
[INFO] [stdout]     |
[INFO] [stdout] 139 | pub struct NewsArticle {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 143 |     pub content: String,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `reply` and `retweet` are never read
[INFO] [stdout]    --> src/generics_example.rs:169:9
[INFO] [stdout]     |
[INFO] [stdout] 166 | pub struct Tweet {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 169 |     pub reply: bool,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 170 |     pub retweet: bool,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `title` and `description` are never read
[INFO] [stdout]    --> src/generics_example.rs:191:9
[INFO] [stdout]     |
[INFO] [stdout] 189 | pub struct Youtube {
[INFO] [stdout]     |            ------- fields in this struct
[INFO] [stdout] 190 |     pub username: String,
[INFO] [stdout] 191 |     pub title: String,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 192 |     pub description: String,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]    --> src/interior_mutability.rs:137:10
[INFO] [stdout]     |
[INFO] [stdout] 137 |     Cons(Rc<RefCell<i32>>, Rc<List>),
[INFO] [stdout]     |     ---- ^^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     fields in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]     |
[INFO] [stdout] 137 -     Cons(Rc<RefCell<i32>>, Rc<List>),
[INFO] [stdout] 137 +     Cons((), ()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/reference_counting.rs:57:14
[INFO] [stdout]    |
[INFO] [stdout] 57 |         Cons(i32, Box<BoxList>),
[INFO] [stdout]    |         ---- ^^^  ^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 57 -         Cons(i32, Box<BoxList>),
[INFO] [stdout] 57 +         Cons((), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/reference_counting.rs:62:14
[INFO] [stdout]    |
[INFO] [stdout] 62 |         Cons(i32, Rc<RCList>),
[INFO] [stdout]    |         ---- ^^^  ^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 62 -         Cons(i32, Rc<RCList>),
[INFO] [stdout] 62 +         Cons((), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/reference_cycles.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 |         Cons(i32, RefCell<Rc<List>>),
[INFO] [stdout]    |         ---- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 14 -         Cons(i32, RefCell<Rc<List>>),
[INFO] [stdout] 14 +         Cons((), RefCell<Rc<List>>),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]   --> src/reference_cycles.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub struct Node {
[INFO] [stdout]    |                ---- fields in this struct
[INFO] [stdout] 29 |         pub value: i32,
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 30 |         pub parent: RefCell<Weak<Node>>,
[INFO] [stdout] 31 |         pub children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/interior_mutability.rs:50:27
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub fn new(messenger: &T, max: usize) -> LimitTracker<T> {
[INFO] [stdout]    |                           ^^                 ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub fn new(messenger: &T, max: usize) -> LimitTracker<'_, T> {
[INFO] [stdout]    |                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/unsafe_rust.rs:74:44
[INFO] [stdout]    |
[INFO] [stdout] 74 |         logger::info(&format!("count: {}", COUNTER));
[INFO] [stdout]    |                                            ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_learn` (bin "rust_learn" test) due to 1 previous error; 17 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: trait `OutlinePrint` is never used
[INFO] [stdout]   --> src/advanced_traits.rs:30:7
[INFO] [stdout]    |
[INFO] [stdout] 30 | trait OutlinePrint: std::fmt::Display {
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/boxes.rs:54:14
[INFO] [stdout]    |
[INFO] [stdout] 54 |         Cons(i32, Box<List>),
[INFO] [stdout]    |         ---- ^^^  ^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 54 -         Cons(i32, Box<List>),
[INFO] [stdout] 54 +         Cons((), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/defining_enum.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 |     Move(MoveMessage),
[INFO] [stdout]    |     ---- ^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 41 -     Move(MoveMessage),
[INFO] [stdout] 41 +     Move(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/defining_enum.rs:42:11
[INFO] [stdout]    |
[INFO] [stdout] 42 |     Write(String),
[INFO] [stdout]    |     ----- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 42 -     Write(String),
[INFO] [stdout] 42 +     Write(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]   --> src/defining_enum.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |     ChangeColor(i32, i32, i32),
[INFO] [stdout]    |     ----------- ^^^  ^^^  ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 43 -     ChangeColor(i32, i32, i32),
[INFO] [stdout] 43 +     ChangeColor((), (), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/example_collections.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |     Int(i32),
[INFO] [stdout]    |     --- ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SpreadSheetCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 76 -     Int(i32),
[INFO] [stdout] 76 +     Int(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/example_collections.rs:77:11
[INFO] [stdout]    |
[INFO] [stdout] 77 |     Float(f64),
[INFO] [stdout]    |     ----- ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SpreadSheetCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 77 -     Float(f64),
[INFO] [stdout] 77 +     Float(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/example_collections.rs:78:10
[INFO] [stdout]    |
[INFO] [stdout] 78 |     Text(String),
[INFO] [stdout]    |     ---- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SpreadSheetCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 78 -     Text(String),
[INFO] [stdout] 78 +     Text(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `content` is never read
[INFO] [stdout]    --> src/generics_example.rs:143:9
[INFO] [stdout]     |
[INFO] [stdout] 139 | pub struct NewsArticle {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 143 |     pub content: String,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `reply` and `retweet` are never read
[INFO] [stdout]    --> src/generics_example.rs:169:9
[INFO] [stdout]     |
[INFO] [stdout] 166 | pub struct Tweet {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 169 |     pub reply: bool,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 170 |     pub retweet: bool,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `title` and `description` are never read
[INFO] [stdout]    --> src/generics_example.rs:191:9
[INFO] [stdout]     |
[INFO] [stdout] 189 | pub struct Youtube {
[INFO] [stdout]     |            ------- fields in this struct
[INFO] [stdout] 190 |     pub username: String,
[INFO] [stdout] 191 |     pub title: String,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 192 |     pub description: String,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]    --> src/interior_mutability.rs:137:10
[INFO] [stdout]     |
[INFO] [stdout] 137 |     Cons(Rc<RefCell<i32>>, Rc<List>),
[INFO] [stdout]     |     ---- ^^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     fields in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]     |
[INFO] [stdout] 137 -     Cons(Rc<RefCell<i32>>, Rc<List>),
[INFO] [stdout] 137 +     Cons((), ()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/reference_counting.rs:57:14
[INFO] [stdout]    |
[INFO] [stdout] 57 |         Cons(i32, Box<BoxList>),
[INFO] [stdout]    |         ---- ^^^  ^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 57 -         Cons(i32, Box<BoxList>),
[INFO] [stdout] 57 +         Cons((), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/reference_counting.rs:62:14
[INFO] [stdout]    |
[INFO] [stdout] 62 |         Cons(i32, Rc<RCList>),
[INFO] [stdout]    |         ---- ^^^  ^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 62 -         Cons(i32, Rc<RCList>),
[INFO] [stdout] 62 +         Cons((), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/reference_cycles.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 |         Cons(i32, RefCell<Rc<List>>),
[INFO] [stdout]    |         ---- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 14 -         Cons(i32, RefCell<Rc<List>>),
[INFO] [stdout] 14 +         Cons((), RefCell<Rc<List>>),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]   --> src/reference_cycles.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub struct Node {
[INFO] [stdout]    |                ---- fields in this struct
[INFO] [stdout] 29 |         pub value: i32,
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 30 |         pub parent: RefCell<Weak<Node>>,
[INFO] [stdout] 31 |         pub children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/interior_mutability.rs:50:27
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub fn new(messenger: &T, max: usize) -> LimitTracker<T> {
[INFO] [stdout]    |                           ^^                 ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub fn new(messenger: &T, max: usize) -> LimitTracker<'_, T> {
[INFO] [stdout]    |                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/unsafe_rust.rs:74:44
[INFO] [stdout]    |
[INFO] [stdout] 74 |         logger::info(&format!("count: {}", COUNTER));
[INFO] [stdout]    |                                            ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_learn` (bin "rust_learn") due to 1 previous error; 17 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a3c7fb729ff9cf060a0abde9adcac38b6afee23b72a6c9588322bc2f92f9cf8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a3c7fb729ff9cf060a0abde9adcac38b6afee23b72a6c9588322bc2f92f9cf8b", kill_on_drop: false }`
[INFO] [stdout] a3c7fb729ff9cf060a0abde9adcac38b6afee23b72a6c9588322bc2f92f9cf8b
